package com.cs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Employee implements Serializable {
    @TableId(value = "emp_id", type = IdType.AUTO)
    private Integer empId;

    @TableField(value = "emp_name")
    private String empName;

    @TableField(value = "age")
    private Integer age;

    @TableField(value = "dept_id")
    private Integer deptId;

    @TableField(value = "hire_date")
    private Date hireDate;

    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "email")
    private String email;

    @TableField(value = "password")
    private String password;

    @TableField(value = "portrait")
    private String portrait;

    @TableField(value = "info")
    private String info;


}
